package com.pearl.boot;

import com.pearl.boot.util.EnvironmentUtils;
import com.pearl.boot.util.SpringContextUtils;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

/**
 * @author TangDan
 * @version 1.0
 * @since 2022/10/14
 */
@AutoConfiguration
public class PearlBootAutoConfiguration {

    @Bean
    EnvironmentUtils environmentUtils() {
        return new EnvironmentUtils();
    }

    @Bean
    SpringContextUtils springContextUtils() {
        return new SpringContextUtils();
    }
}
